package demo.BlockingQueueDemo;

/**
 * Created by zhangyanfei on 2018/4/12.
 *
 * @author zhangyanfei
 * @date 2018/04/12
 */
public class PcData {
    private final int intData;

    public PcData(int d) {
        intData = d;
    }

    public PcData(String d) {
        intData = Integer.valueOf(d);
    }

    public int getData() {
        return intData;
    }

    @Override
    public String toString() {
        return "data:" + intData;
    }

}
